package com.atguigu.eduservice.service.impl;

/**
 * @ClassName AliPay
 * @Description: TODO
 * @Author: NeySun
 * @Create: 2022-12-16 15:50
 * @Version 1.0
 **/
import com.atguigu.eduservice.service.IPayment;
import com.atguigu.eduservice.entity.Order;
import com.atguigu.eduservice.entity.PayResult;
import org.springframework.stereotype.Service;

/**
 * 支付宝支付
 *
 * @author Mr.Qu
 * @since 2021/5/18 11:08
 */
@Service
public class AliPay implements IPayment {
    @Override
    public PayResult pay(Order order) {
        return new PayResult(200, "支付宝支付成功");
    }
}